package com.kob.backend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author cyz
 * @version 1.0
 * @date 2023/1/10 16:32
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
public class User {
    @TableId(type = IdType.AUTO)//实现id自增
    private Integer id;
    private String username;
    private String password;
    private String photo;
    // 1市场管理员， 2RSU， 3EV
    private Integer type;
}
